﻿@{
    Layout = null;
}
@using PagedList.Mvc;
@using PagedList;

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>urunlisteler</title>
</head>
<body>
    <div>
        <ul>
            @foreach (var item in ViewBag.Sayfali)
            {
                <li>@item.productname</li>
            }
        </ul>
  @Html.PagedListPager( (IPagedList)ViewBag.Sayfali,Page => Url.Action("urunlisteler",new {Page}) )
           
        
    </div>
</body>
</html>
